$OpenBSD: patch-xv_h,v 1.5 2014/10/29 16:45:09 espie Exp $
--- xv.h.orig	Tue Oct 28 14:44:22 2014
+++ xv.h	Tue Oct 28 14:45:15 2014
@@ -1689,7 +1689,8 @@ char *GetDirFullName       PARM((void));
 void SetDirSaveMode        PARM((int, int));
 int  Globify               PARM((char *));
 FILE *OpenOutFile          PARM((const char *));
-int  CloseOutFile          PARM((FILE *, const char *, int));
+int  CloseOutFileWhy          PARM((FILE *, const char *, int, const char *));
+#define CloseOutFile(fp, name, fail) CloseOutFileWhy((fp), (name), (fail), NULL)
 
 byte *GenSavePic           PARM((int*, int*,int*, int*, int*,
 				 byte**, byte**, byte**));
